﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true" CodeBehind="wFrmCompensacionVehiculoNuevo.aspx.cs" Inherits="Crosland.Automotriz.Web.Vehiculos.wFrmCompensacionVehiculoNuevo" UICulture="es" Culture="es-PE" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxLoadingPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxCallback" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx1" %>

<asp:Content ID="cMain" ContentPlaceHolderID="cphMain" runat="server">

<script type="text/javascript">

    function ShowPopupCliente() {
        pcCliente.Show();
    }

    function ShowExito() {
        popupExito.Show();
    }

    function ShowValidacion() {
        popupValidacion.Show();
    }

    function ShowError() {
        popupError.Show();
    }

</script>

<asp:UpdatePanel ID="upNuevo" runat="server" UpdateMode="Always">
<ContentTemplate>

        


     <div class="main-header" style="width:100%;">
                <div class="main-titulo">Registro de Depositos</div>
     </div>

     <div class="content-form">

     <div>
         <table>
     
         <tr>
            <td>
                <dx:aspxbutton ID="btnGuardar" runat="server" Text="Guardar" AutoPostBack="False" 
                    ClientInstanceName="btnGuardar" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px">
                    <ClientSideEvents Click="function(s, e) {
	popupGuardar.Show();
}" />
                    <Image Url="~/Images/save_16.gif">
                    </Image>
                </dx:aspxbutton>
            </td>
            <td>
                <dx:aspxbutton ID="btnSalir" runat="server" Text="Salir" AutoPostBack="False" 
                    ClientInstanceName="btnSalir" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" onclick="btnSalir_Click">
                    <Image Url="~/Images/logout.png">
                    </Image>
                </dx:aspxbutton>
            </td>
         </tr>

         </table>
         </div>
         <div style="clear:both;height:15px"></div>

         <div>
         
             <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="800px" 
                 CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                 CssPostfix="Office2010Blue" EnableDefaultAppearance="False" 
                 GroupBoxCaptionOffsetX="6px" GroupBoxCaptionOffsetY="-19px" 
                 HeaderText="Datos del Deposito" 
                 SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                 <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                     PaddingTop="10px" />
                 <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" 
                     PaddingTop="10px" />
                 <HeaderStyle>
                 <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                     PaddingTop="3px" />
                 <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" 
                     PaddingTop="3px" />
                 </HeaderStyle>
                 <PanelCollection>
                    <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                        <table style="width: 797px">
                            <tr>
                                <td style="width: 180px">
                                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Cliente:" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue">
                                    </dx:ASPxLabel>
                                </td>
                                <td colspan="3">
                                    <dx:ASPxLabel ID="lblCliente" runat="server" Text="" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Width="292px" Height="22px" Font-Bold="True" 
                                        style="margin-right: 53px">
                                        <Border BorderWidth="1px" BorderStyle="Solid" />
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 263px">
                                    <dx:ASPxButton ID="btnBuscarCliente" runat="server" AutoPostBack="False" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                        ClientInstanceName="btnBuscarCliente" Width="50px">
                                        <ClientSideEvents Click="function(s, e) {
	ShowPopupCliente();
}" />
                                        <ClientSideEvents Click="function(s, e) {
	ShowPopupCliente();
}" />
                                        <Image Url="~/Images/three_dots.png">
                                        </Image>
                                    </dx:ASPxButton>
                                    <dx:ASPxLabel ID="lblIdCliente" runat="server" Visible="False">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 263px">
                                    &nbsp;</td>
                                <td style="width: 263px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    <dx:ASPxLabel ID="ASPxLabel2" runat="server" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Text="Banco:">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 135px">
                                    <dx:ASPxComboBox ID="ddlBanco" runat="server" ClientInstanceName="ddlBanco" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Spacing="0" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                        Width="150px" ValueField="ID_BANCO"
                                        TextField="NOM_BANCO" AutoPostBack="True" 
                                        OnSelectedIndexChanged="ddlBanco_SelectedIndexChanged" Height="30px">
                                        <ItemStyle Height="30px" />
                                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                        </LoadingPanelImage>
                                        <LoadingPanelStyle ImageSpacing="5px">
                                        </LoadingPanelStyle>
                                        <DropDownButton Width="20px">
                                        </DropDownButton>
                                        <ButtonStyle Width="13px">
                                        </ButtonStyle>
                                        <Paddings PaddingLeft="5px" />
                                    </dx:ASPxComboBox>
                                </td>
                                <td>
                                </td>
                                <td class="formato-tabla-td" style="width: 14px">
                                
                                    <dx:ASPxLabel ID="ASPxLabel3" runat="server" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Text="Cta.Corriente:">
                                    </dx:ASPxLabel>
                                
                                </td>

                                <td style="width: 263px">
                                
                                    <dx:ASPxComboBox ID="ddlCtaCorriente" runat="server" 
                                        ClientInstanceName="ddlCtaCorriente" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Spacing="0" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" ValueField="ID_BANCO_CUENTA"
                                        TextField="NRO_CUENTA_CORRIENTE" Height="30px">
                                        <ItemStyle Height="30px" />
                                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                        </LoadingPanelImage>
                                        <LoadingPanelStyle ImageSpacing="5px">
                                        </LoadingPanelStyle>
                                        <DropDownButton Width="20px">
                                        </DropDownButton>
                                        <ButtonStyle Width="13px">
                                        </ButtonStyle>
                                        <Paddings PaddingLeft="5px" />
                                    </dx:ASPxComboBox>
                                
                                </td>

                                <td style="width: 263px">
                                    &nbsp;</td>
                                <td style="width: 263px">
                                    &nbsp;</td>

                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    <dx:ASPxLabel ID="ASPxLabel6" runat="server" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Text="Tipo Doc.:">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 135px">
                                    <dx:ASPxComboBox ID="ddlTipoDoc" runat="server" ClientInstanceName="ddlTipoDoc" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Spacing="0" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                        TextField="DES_CLASE_FACTURA" ValueField="ID_CLASE_FACTURA" Width="150px" 
                                        Height="30px">
                                        <ItemStyle Height="30px" />
                                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                        </LoadingPanelImage>
                                        <LoadingPanelStyle ImageSpacing="5px">
                                        </LoadingPanelStyle>
                                        <DropDownButton Width="20px">
                                        </DropDownButton>
                                        <Paddings PaddingLeft="5px" />
                                    </dx:ASPxComboBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td class="formato-tabla-td" style="width: 14px">
                                    <dx:ASPxLabel ID="ASPxLabel4" runat="server" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Text="Nro.Operación:">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 263px">
                                    <dx:ASPxTextBox ID="txtNroOperacion" runat="server" 
                                        ClientInstanceName="txtNroOperacion" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                        Width="170px" Height="30px">
                                        <Paddings PaddingLeft="5px" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td style="width: 263px">
                                    &nbsp;</td>
                                <td style="width: 263px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    <dx:ASPxLabel ID="ASPxLabel7" runat="server" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Text="Importe:">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 135px">
                                    <dx:ASPxTextBox ID="txtImporte" runat="server" ClientInstanceName="txtImporte" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                        Width="150px" Height="30px">
                                        <ClientSideEvents KeyPress="function(s, e) {}" />
                                        <Paddings PaddingLeft="5px" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td class="formato-tabla-td" style="width: 14px">
                                    <dx:ASPxLabel ID="ASPxLabel5" runat="server" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Text="Fec.Operacion:">
                                    </dx:ASPxLabel>
                                </td>
                                <td style="width: 263px">
                                    <dx:ASPxDateEdit ID="deFecOperacion" runat="server" 
                                        ClientInstanceName="deFecOperacion" 
                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                        CssPostfix="Office2010Blue" Spacing="0" 
                                        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                        Width="100px" AllowMouseWheel="False" AllowNull="False" AllowUserInput="False" 
                                        Height="30px" AutoPostBack="True" 
                                        OnDateChanged="deFecOperacion_DateChanged">
                                        <CalendarProperties>
                                            <HeaderStyle Spacing="1px" />
                                        </CalendarProperties>
                                        <DropDownButton Width="20px">
                                        </DropDownButton>
                                        <Paddings PaddingLeft="5px" />
                                    </dx:ASPxDateEdit>
                                </td>
                                <td style="width: 263px">
                                    Tipo de Cambio:</td>
                                <td style="width: 263px">
                                    <strong>
                                    <asp:Label ID="lblTipoCambio" runat="server" style="color: #CC3300"></asp:Label>
                                    </strong>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 180px; height: 13px;">
                                </td>
                                <td style="width: 135px; height: 13px;">
                                </td>
                                <td style="height: 13px">
                                </td>
                                <td class="formato-tabla-td" style="width: 14px; height: 13px;">
                                </td>
                                <td style="width: 263px; height: 13px;">
                                </td>
                                <td style="width: 263px; height: 13px;">
                                    &nbsp;</td>
                                <td style="width: 263px; height: 13px;">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    Glosa:</td>
                                <td colspan="4">
                                    <asp:TextBox ID="txtGlosa" runat="server" Height="60px" MaxLength="100" 
                                        TextMode="MultiLine" Width="449px"></asp:TextBox>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </dx:PanelContent>
                    </PanelCollection>
             </dx:ASPxRoundPanel>
         
         </div>

         <dx:ASPxPopupControl ID="pcCliente" runat="server" 
             CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
             CssPostfix="Office2010Blue" EnableHotTrack="False" 
             HeaderText="Busqueda de Clientes" 
             SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
             ClientInstanceName="pcCliente" CloseAction="CloseButton" 
             AllowDragging="True" EnableViewState="False" Modal="True" 
             PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter">
             <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
             </LoadingPanelImage>
             <HeaderStyle>
             <Paddings PaddingLeft="7px" />
             </HeaderStyle>
             <LoadingPanelStyle ImageSpacing="5px">
             </LoadingPanelStyle>
             <ContentCollection>
                 <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">

                 
                 

                 <table>
                 
                 <tr>
                    <td>
                        <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="Cliente:" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                            CssPostfix="Office2010Blue">
                        </dx:ASPxLabel>
                    </td>
                    <td>
                        <dx:ASPxTextBox ID="txtCliente" runat="server" Width="250px" 
                            ClientInstanceName="txtCliente" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                            CssPostfix="Office2010Blue" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            Height="25px" NullText="CODIGO O NOMBRE DEL CLIENTE">
                            <Paddings PaddingLeft="5px" />
                        </dx:ASPxTextBox>
                    </td>
                    <td>

                    <asp:UpdatePanel ID="upPopup" runat="server">
                    <ContentTemplate>
                    
                        <dx:ASPxButton ID="btnBuscar" runat="server" Text="Buscar" 
                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                            CssPostfix="Office2010Blue" 
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                            ClientInstanceName="btnBuscar" OnClick="btnBuscar_Click">
                            <Image Url="~/Images/search.png">
                            </Image>
                        </dx:ASPxButton>

                    </ContentTemplate>
                    </asp:UpdatePanel>

                    </td>
                    
                 </tr>
                

                 </table>

                 <div style="clear:both;height:15px"></div>

                 <dx:ASPxGridView ID="grdClientes" runat="server" 
                         CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                         CssPostfix="Office2010Blue" Width="550px" AutoGenerateColumns="False" 
                         ClientInstanceName="grdClientes" EnableCallBacks="False" 
                         KeyFieldName="ID_CLIENTE" OnPageIndexChanged="grdClientes_PageIndexChanged">
                         <Columns>
                             <dx:GridViewDataTextColumn Caption="Codigo" FieldName="COD_CLIENTE" 
                                 ShowInCustomizationForm="True" VisibleIndex="0">
                                 <HeaderStyle HorizontalAlign="Center" />
                             </dx:GridViewDataTextColumn>
                             <dx:GridViewDataTextColumn Caption="Apellidos y Nombres" 
                                 FieldName="DES_CLIENTE" ShowInCustomizationForm="True" VisibleIndex="1">
                                 <HeaderStyle HorizontalAlign="Center" />
                             </dx:GridViewDataTextColumn>
                             <dx:GridViewDataTextColumn Caption="Nro.Doc." FieldName="NIF" 
                                 ShowInCustomizationForm="True" VisibleIndex="2">
                                 <HeaderStyle HorizontalAlign="Center" />
                             </dx:GridViewDataTextColumn>
                             <dx:GridViewDataTextColumn Caption="Tipo Doc." FieldName="TipoDoc" 
                                 ShowInCustomizationForm="True" VisibleIndex="3">
                                 <HeaderStyle HorizontalAlign="Center" />
                             </dx:GridViewDataTextColumn>
                             <dx:GridViewDataTextColumn Caption="ID" FieldName="ID_CLIENTE" 
                                 ShowInCustomizationForm="True" Visible="False" VisibleIndex="4">
                             </dx:GridViewDataTextColumn>
                         </Columns>
                         <SettingsBehavior AllowFocusedRow="True" AllowSort="False" />
                         <SettingsLoadingPanel Text="Cargando&amp;hellip;" ShowImage="true" />
                         <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                             <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                             </LoadingPanelOnStatusBar>
                             <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                             </LoadingPanel>
                         </Images>
                         <ImagesFilterControl>
                             <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                             </LoadingPanel>
                         </ImagesFilterControl>
                         <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                             CssPostfix="Office2010Blue">
                             <Header ImageSpacing="5px" SortingImageSpacing="5px">
                             </Header>
                             <LoadingPanel ImageSpacing="5px">
                             </LoadingPanel>
                         </Styles>
                         <StylesPager>
                             <PageNumber ForeColor="#3E4846">
                             </PageNumber>
                             <Summary ForeColor="#1E395B">
                             </Summary>
                         </StylesPager>
                         <StylesEditors ButtonEditCellSpacing="0">
                             <ProgressBar Height="21px">
                             </ProgressBar>
                         </StylesEditors>
                     </dx:ASPxGridView>
                     
                     <div style="clear:both;height:15px"></div>

                     <center>
                     <table>
                     <tr>
                        <td>
                            <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                OnClick="btnAceptar_Click">
                                <ClientSideEvents Click="function(s, e) {
	pcCliente.Hide();
}" />
                                <Image Url="~/Images/ok.png">
                                </Image>
                            </dx:ASPxButton>
                        </td>
                        <td></td>
                        <td>
                            <dx:ASPxButton ID="btnCancelar" runat="server" Text="Cancelar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <ClientSideEvents Click="function(s, e) {
	pcCliente.Hide();
}" />
                                <Image Url="~/Images/cancel.gif">
                                </Image>
                            </dx:ASPxButton>
                        </td>
                     </tr>
                     </table>
                     </center>
                     
                 </dx:PopupControlContentControl>
             </ContentCollection>
         </dx:ASPxPopupControl>

         <br />
         <dx:ASPxPopupControl ID="popupGuardar" runat="server" AllowDragging="True" 
             ClientInstanceName="popupGuardar" 
             CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
             EnableViewState="False" HeaderText="Mensaje" Height="138px" Modal="True" 
             PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
             SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="200px">
             <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
             </LoadingPanelImage>
             <CloseButtonStyle>
                 <Paddings Padding="0px" />
             </CloseButtonStyle>
             <ContentStyle>
                 <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
             </ContentStyle>
             <HeaderStyle>
             <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                 PaddingTop="4px" />
             </HeaderStyle>
             <ContentCollection>
                 <dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server" SupportsDisabledAttribute="True">
                     <dx:ASPxPanel ID="ASPxPanel4" runat="server" Height="88px" Width="200px">
                         <PanelCollection>
                             <dx:PanelContent ID="PanelContent2" runat="server" SupportsDisabledAttribute="True">
                              <div style="clear:both;height:15px"></div>
                                 <table>
                                     <tr>
                                         <td colspan="2">
                                             <center>
                                                 Esta seguro de registrar el deposito?.
                                             </center>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td colspan="2" style="height: 18px">
                                         </td>
                                     </tr>
                                     <tr>
                                         <td style="height: 27px">
                                             <center>
                                                 <dx:ASPxButton ID="btnConfirmar" runat="server" AutoPostBack="False" 
                                                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                     CssPostfix="Office2010Blue" 
                                                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Si" 
                                                     Width="50px" OnClick="btnConfirmar_Click">
                                                     <ClientSideEvents Click="function(s, e) {
	popupGuardar.Hide();
	e.processOnServer = true;
}" />
                                                 </dx:ASPxButton>
                                             </center>
                                         </td>
                                         <td style="height: 27px">
                                             <center>
                                                 <dx:ASPxButton ID="btnNo" runat="server" AutoPostBack="False" 
                                                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                     CssPostfix="Office2010Blue" 
                                                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="No" 
                                                     Width="50px">
                                                     <ClientSideEvents Click="function(s, e) {
	popupGuardar.Hide();
}" />
                                                 </dx:ASPxButton>
                                             </center>
                                         </td>
                                     </tr>
                                 </table>
                             </dx:PanelContent>
                         </PanelCollection>
                     </dx:ASPxPanel>
                 </dx:PopupControlContentControl>
             </ContentCollection>
         </dx:ASPxPopupControl>

         <br />
         <dx:ASPxPopupControl ID="popupExito" runat="server" AllowDragging="True" 
             ClientInstanceName="popupExito" 
             CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
             EnableViewState="False" HeaderText="Mensaje" Height="22px" Modal="True" 
             PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
             SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="200px">
             <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
             </LoadingPanelImage>
             <CloseButtonStyle>
                 <Paddings Padding="0px" />
             </CloseButtonStyle>
             <ContentStyle>
                 <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
             </ContentStyle>
             <HeaderStyle>
             <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                 PaddingTop="4px" />
             </HeaderStyle>
             <ContentCollection>
                 <dx:PopupControlContentControl ID="PopupControlContentControl3" runat="server" SupportsDisabledAttribute="True">
                     <dx:ASPxPanel ID="ASPxPanel5" runat="server" Width="200px">
                         <PanelCollection>
                             <dx:PanelContent ID="PanelContent3" runat="server" SupportsDisabledAttribute="True">
                             <div style="clear:both;height:15px"></div>
                                 
                                 <table>
                                     <tr>
                                         <td>
                                             <center>
                                                 Deposito Guardado Satisfactoriamente!!!!</center>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td>
                                             <center>
                                                 <dx:ASPxButton ID="btnOK" runat="server" AutoPostBack="False" 
                                                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                     CssPostfix="Office2010Blue" 
                                                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="OK" 
                                                     Width="50px">
                                                     <ClientSideEvents Click="function(s, e) {
	popupExito.Hide();
}" />
                                                 </dx:ASPxButton>
                                             </center>
                                         </td>
                                     </tr>
                                 </table>
                             </dx:PanelContent>
                         </PanelCollection>
                     </dx:ASPxPanel>
                 </dx:PopupControlContentControl>
             </ContentCollection>
         </dx:ASPxPopupControl>

         <br />
         <dx:ASPxPopupControl ID="popupValidacion" runat="server" AllowDragging="True" 
             ClientInstanceName="popupValidacion" 
             CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
             EnableViewState="False" HeaderText="Mensaje" Height="22px" Modal="True" 
             PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
             SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="200px">
             <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
             </LoadingPanelImage>
             <CloseButtonStyle>
                 <Paddings Padding="0px" />
             </CloseButtonStyle>
             <ContentStyle>
                 <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
             </ContentStyle>
             <HeaderStyle>
             <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                 PaddingTop="4px" />
             </HeaderStyle>
             <ContentCollection>
                 <dx:PopupControlContentControl ID="PopupControlContentControl4" runat="server" SupportsDisabledAttribute="True">
                     <dx:ASPxPanel ID="ASPxPanel6" runat="server" Width="200px">
                         <PanelCollection>
                             <dx:PanelContent ID="PanelContent4" runat="server" SupportsDisabledAttribute="True">
                                 <div style="clear:both;height:15px">
                                 </div>
                                 <table>
                                     <tr>
                                         <td>
                                             <center>
                                                 <strong>
                                                 <dx:ASPxLabel ID="lblValidacion" runat="server" 
                                                     ClientInstanceName="lblValidacion" 
                                                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                     CssPostfix="Office2010Blue" Font-Bold="True" Height="32px" 
                                                     style="color: #FF0000" Width="180px">
                                                 </dx:ASPxLabel>
                                                 </strong>
                                             </center>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td>
                                             <center>
                                                 <dx:ASPxButton ID="btnOKV" runat="server" AutoPostBack="False" 
                                                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                     CssPostfix="Office2010Blue" 
                                                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="OK" 
                                                     Width="50px">
                                                     <ClientSideEvents Click="function(s, e) {
	popupValidacion.Hide();
}" />
                                                 </dx:ASPxButton>
                                             </center>
                                         </td>
                                     </tr>
                                 </table>
                             </dx:PanelContent>
                         </PanelCollection>
                     </dx:ASPxPanel>
                 </dx:PopupControlContentControl>
             </ContentCollection>
         </dx:ASPxPopupControl>

         <br />
         <dx:ASPxPopupControl ID="popupError" runat="server" AllowDragging="True" 
             ClientInstanceName="popupError" 
             CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
             EnableViewState="False" HeaderText="Mensaje" Height="22px" Modal="True" 
             PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
             SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="200px">
             <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
             </LoadingPanelImage>
             <CloseButtonStyle>
                 <Paddings Padding="0px" />
             </CloseButtonStyle>
             <ContentStyle>
                 <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
             </ContentStyle>
             <HeaderStyle>
             <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                 PaddingTop="4px" />
             </HeaderStyle>
             <ContentCollection>
                 <dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">
                     <dx:ASPxPanel ID="ASPxPanel7" runat="server" Width="200px">
                         <PanelCollection>
                             <dx:PanelContent ID="PanelContent5" runat="server" SupportsDisabledAttribute="True">
                                 <div style="clear:both;height:15px">
                                 </div>
                                 <center>
                                 <table>
                                     <tr>
                                         <td>
                                             <center style="color: #FF0000">
                                                 <strong>Error al guardar el deposito!!!</strong></center>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td>
                                         </td>
                                     </tr>
                                     <tr>
                                         <td>
                                             <center>
                                                 <dx:ASPxButton ID="btnError" runat="server" AutoPostBack="False" 
                                                     CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                                     CssPostfix="Office2010Blue" 
                                                     SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="OK" 
                                                     Width="50px">
                                                     <ClientSideEvents Click="function(s, e) {
	popupError.Hide();
}" />
                                                 </dx:ASPxButton>
                                             </center>
                                         </td>
                                     </tr>
                                 </table>
                                 </center>
                             </dx:PanelContent>
                         </PanelCollection>
                     </dx:ASPxPanel>
                 </dx:PopupControlContentControl>
             </ContentCollection>
         </dx:ASPxPopupControl>

     </div>

</ContentTemplate>
</asp:UpdatePanel>

    <br />
        
</asp:Content>
